.movies-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background-color: #FFFFFF;
}

.movies-card__img {
  height: 151px;
  object-fit: cover;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.23;
}

.movies-card__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 14px 12px 0 12px;

}

.movies-card__name {
  margin: 0;
  max-width: 206px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.23;
  overflow: hidden;
  color: #000000;
}

.movies-card__btn-action {
  width: 28px;
  height: 16px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.5s;
}

.movies-card__btn-action_place_saved-movies {
  width: 8px;
  height: 8px;
  background: url("../../images/delete-saved.svg") no-repeat center / cover;
  opacity: 1;
}

.movies-card__btn-action_place_saved-movies:hover {
  opacity: 1;
}

.movies-card__btn-like-img {
  padding: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  border: none;
  border-radius: 50%;
  background: url("../../images/like-icon-deactivate.svg") no-repeat center / cover;
}

.movies-card__btn-like-img_active {
  background: url("../../images/like-icon-active.svg") no-repeat center / cover;
}

.movies-card__duration {
  margin: 0;
  padding: 10px 12px 14px 12px;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.18;
  color: #8b8b8b;
}

@media screen and (max-width: 990px) {
  .movies-card__img {
    height: 190px;
  }
}

@media screen and (max-width: 500px) {
  .movies-card__img {
    height: 168px;
  }

  .movies-card__caption {
    height: 16px;
    gap: 36px;
  }

  .movies-card__name {
    font-size: 12px;
    line-height: 1.25;
  }

  .movies-card__duration {
    font-size: 10px;
    line-height: 1.2;
  }
}

@media (hover: none) and (pointer: coarse) {
  .movies-card__btn-action_place_saved-movies {
    opacity: 1;
  }
}

@media (hover: none) and (pointer: fine) {
  .movies-card__btn-action_place_saved-movies {
    opacity: 1;
  }
}
